import time

from base_api.base.PygameMixerTaskClass import PygameMixerTask

# p = PygameMixerTask()
# p.video_path_list = []

import pygame.mixer

pygame.mixer.init()
a = ''
# pygame.mixer.music.load('data/com/mafumafu (まふまふ) - 夢花火_2_06140602.wav')
# pygame.mixer.music.play(start=263)
a = pygame.mixer.Sound('data/com/mafumafu (まふまふ) - 夢花火_2_06140602.wav')
# self.length_sec = a.get_length()
print(a.get_length())
# while True:
#     time.sleep(2)
#     print(pygame.mixer.music.get_pos())